from django.urls import path
from . import views
from .views import PostDetailView
urlpatterns = [
    path('', views.index, name='index'),
    path('<int:pk>/', PostDetailView.as_view(), name='detail'),
]
